public ArrayList<String> readFile(String fName){
		ArrayList<String> fileLines = new ArrayList<String>();
		//the filename is set
		File filename = new File(fName);
		//String variable to hold each line
		String line = "";
		try{
			//Create the file reader
			FileReader inputFile = new FileReader(filename);
			
			//Create the line reader
			BufferedReader lineReader = new BufferedReader(inputFile);
			
			//Read file line by line and add to fileLines
			while ((line = lineReader.readLine()) != null){
				fileLines.add(line);
			}
			
			//Close the BufferedReader (File)
			lineReader.close();
			
		} catch (Exception e){
			System.out.println("Error while reading file line by line: " + e.getMessage());
		}
		//return the collection of lines. 
		return fileLines;
	}