Keep the file from closing