public List getInputFileAsArray(String inputFileName) throws IOException {
List fileData = new ArrayList();
File inFile = new File(inputFileName);
FileInputStream inStream = new FileInputStream(inFile);
BufferedReader in = new BufferedReader(new InputStreamReader(inStream,
"UTF-8"));
String line = in.readLine();
int numLines = 0;
while ((line != null) && (!line.equals(""))) {
fileData.add(line);
line = in.readLine();
}
inStream.close();
in.close();
return fileData;
}