Added slightly bugged line parsing and a test file