Implemented a function to remove the files from cloudinary and the locally cached files.