deletefile fix