Slight changes to filereader.c. Correcting syntx/code errors