Could not store data in the file