adding management command to save file