String (@NotNull Path file) { String message = "\nphysical file " + (Files.exists(file) ? "exists" : "doesn't exist") + "; length = "; try { message += Files.size(file); } catch (IOException e) { message += e.getMessage(); } return message; }