public FileOutputStream getFileOutputStream(File file) throws FileNotFoundException {
    return new FileOutputStream(file);
  }
Get a new file output stream for the given file.

@param file  the file

@return a new file output stream
ambari-server/src/main/java/org/apache/ambari/server/view/ViewArchiveUtility.java