File parser - Assignment 1 of CoE 2SI4 at McMaster University