//File file = new File("data100_10.txt"); File file = new File("/Users/gage/data100_10.txt"); //File file = new File("/Users/gage/Documents/Processing/oct26/data/data100_10.txt"); try { Scanner scanner = new Scanner(file); while (scanner.hasNextLine()) { String line = scanner.nextLine(); System.out.println(line); } } catch (FileNotFoundException e) { System.err.println(e); }