Debugging file saving