fixed silly little file reading syntax issues