Changed some compilation errors, e.g. variable name inconsistency.
Created a simple test for part of parseFile().