main.java
//accepts a file location and name and reads the file at that location
accepts a file location and name and reads the file at that location
accepts a file location and name and reads the file at that location
public static void read_file(String file_name) throws FileNotFoundException {
		Scanner file = new Scanner(new File(file_name));
		while(file.hasNext()) {
			String line = file.nextLine();
			System.out.println(line);
		}
	}
public static void read_file ( String file_name ) throws FileNotFoundException { Scanner file = new Scanner ( new File ( file_name ) ) ; while ( file . hasNext ( ) ) { String line = file . nextLine ( ) ; System . out . println ( line ) ; } }
accepts a file location and name and reads the file at that location
accepts a file location and name and reads the file at that location