made whole functionality
delete file