Implemented delete file.