code: public static void createFile(String filePath) throws IOException {
      Path storagePath = Paths.get(filePath);
      Files.createDirectories(storagePath.getParent());
      Files.createFile(storagePath);
    }
docs: Creates an empty file and its intermediate directories if necessary.
  
  @param filePath pathname string of the file to create