Checking in code for file deletion