Gotta move the return out of the file open block