code: public static String readHeadLine(final String inputFile)
  		throws FileNotFoundException, IOException
  	{
  		String headLine = null;
  		try (BufferedReader reader = new BufferedReader(new FileReader(inputFile)))
  		{
  			headLine = reader.readLine();
  		}
  		return headLine;
  	}
docs: The Method readHeadLine() opens the File and reads the first line from the file.
  
  @param inputFile
  The Path to the File and name from the file from where we read.
  @return The first line from the file.
  @throws FileNotFoundException
  the file not found exception
  @throws IOException
  Signals that an I/O exception has occurred.