test for parsing file