Change so as not to read in empty files