save file for debug