Implemented Delete File function