code: private String prepareUfsFilePath(FileInfo fileInfo, UnderFileSystem ufs)
        throws AlluxioException, IOException {
      AlluxioURI alluxioPath = new AlluxioURI(fileInfo.getPath());
      FileSystem fs = mFileSystemFactory.get();
      URIStatus status = fs.getStatus(alluxioPath);
      String ufsPath = status.getUfsPath();
      UnderFileSystemUtils.prepareFilePath(alluxioPath, ufsPath, fs, ufs);
      return ufsPath;
    }
docs: Prepares the destination file path of the given file id. Also creates the parent folder if it
  does not exist.
  
  @param fileInfo the file info
  @param ufs the {@link UnderFileSystem} instance
  @return the path for persistence