code: public static void write2File(final String inputFile, final Writer writer)
  		throws FileNotFoundException, IOException
  	{
  		try (BufferedReader bufferedReader = new BufferedReader(new FileReader(inputFile));)
  		{
  			write2File(bufferedReader, writer);
  		}
  	}
docs: The Method write2File() writes the File into the PrintWriter.
  
  @param inputFile
  The Name from the File to read and copy.
  @param writer
  The PrintWriter to write into.
  @throws FileNotFoundException
  is thrown if an attempt to open the file denoted by a specified pathname has
  failed.
  @throws IOException
  Signals that an I/O exception has occurred.