Revert "Revert "file delete""

This reverts commit 0b712f05daee5560d72fa177532f758409fd352d.