wrote draft of AnalyzeOutputFile.java