Need to make sure the file was actually opened