try to save file