added deletion of files option.