code: public static FileCreationState newFile(final File file) throws IOException
  	{
  		FileCreationState fileCreationState = FileCreationState.ALREADY_EXISTS;
  		if (!file.exists())
  		{
  			fileCreationState = FileCreationState.FAILED;
  			newParentDirectories(file);
  			if (file.createNewFile())
  			{
  				fileCreationState = FileCreationState.CREATED;
  			}
  		}
  		return fileCreationState;
  	}
docs: Creates an empty file if the File does not exists otherwise it lets the file as it is.
  
  @param file
  the file.
  
  @return true, if the file is successful created otherwise false.
  
  @throws IOException
  Signals that an I/O exception has occurred.