deleting file created in the wrong dir