Updated file reader to have initial functionality