Added comments and refactored FileParser.cs. Changed ParseModeFactory.cs to ParseMode.cs.