Disabled interrupts in deleteFile

Finally did the quick fix.