legacy file delete