code: public DataFile putFile(File file) throws APIException, FileNotFoundException {
          DataFile dataFile = new DataFile(client, trimmedPath + "/" + file.getName());
          dataFile.put(file);
          return dataFile;
      }
docs: Convenience wrapper for putting a File
  @param file a file to put into this data directory
  @return a handle to the requested file
  @throws APIException if there were any problems communicating with the Algorithmia API
  @throws FileNotFoundException if the specified file does not exist