tightened up file delete (for windows)