Disabled interrupts in deleteFile