FeatureVectorParser { public static ArrayList<String> readFile(String fileName) throws FileNotFoundException, ParseException { ArrayList <String> lines = new ArrayList<String>(); Scanner scanner = new Scanner(new File(fileName)); while (scanner.hasNextLine()) lines.add(scanner.nextLine()); scanner.close(); return lines; }  static ArrayList<String> readFile(String fileName); static void parseFeatureVectorFromString(FeatureVector fv,
			String strFeatureVector); static int strFeatureVectorLength(String strFeatureVector);  }
@Test public void testReadFile() { try { ArrayList<String> fvs = FeatureVectorParser.readFile( "./res/deflatedFeatureVectors.txt"); if (fvs.size() != 8) fail("Failed to correctly read vectors from file"); } catch (Exception e) {System.out.print("Exception raised");} }