code: public static Path provisionResourceToFs(File localResource, FileSystem fs, String applicationName) throws Exception {
  		String destinationFilePath = applicationName + "/" + localResource.getName();
  		Path provisionedPath = new Path(fs.getHomeDirectory(), destinationFilePath);
  		provisioinResourceToFs(fs, new Path(localResource.getAbsolutePath()), provisionedPath);
  		return provisionedPath;
  	}
docs: Provisions resource represented as {@link File} to the {@link FileSystem} for a given application
  
  @param localResource
  @param fs
  @param applicationName
  @return