added deletion of files