code: Path uploadToJobFolder(final File file) throws IOException {
      final Path source = new Path(file.getAbsolutePath());
      final Path destination = new Path(this.jobSubmissionDirectory + "/" + file.getName());
      LOG.log(Level.FINE, "Uploading {0} to {1}", new Object[]{source, destination});
      this.fileSystem.copyFromLocalFile(false, true, source, destination);
      return destination;
    }
docs: Uploads the given file to the job folder on (H)DFS.
  
  @param file
  @return
  @throws java.io.IOException