Documentation
Configuration / delete.include_file_pattern
This option can be used to exclude all file names but those matching the specified regexp pattern.
$moxieManagerConfig['delete.include_file_pattern'] = "/^file|morefile$/i";
<add key="delete.include_file_pattern" value="/^file|morefile$/i" />