System.out.printf("Owner of file '%s' is '%s'\n", filePathRef.toFile().getName(), owner.getName());
FileStore store = Files.getFileStore(filePathRef);
System.out.println("Storage infos");
System.out.printf(">>> Store name is '%s'\n", store.name());
System.out.printf(">>> Store is read-only '%s'\n", store.isReadOnly());
System.out.printf(">>> Store type is '%s'\n", store.type());
String fileContentType = Files.probeContentType(filePathRef);
System.out.printf("File '%s' content type is '%s'\n", f.getName(), fileContentType);
List<String> content = Files.readAllLines(filePathRef, Charset.defaultCharset());
System.out.printf("File '%s' content is '%s'\n", f.getName(), content);
BasicFileAttributes basicAttributes = Files.readAttributes(filePathRef, BasicFileAttributes.class);