Register the dropped file for cleanup