FileParser: 'parseFile' refactored and 'finally' block removed. TestParse added.