Documentation
Configuration / edit.exclude_file_pattern
This option can be used to exclude editing of file names matching the specified regexp pattern.
$moxieManagerConfig['edit.exclude_file_pattern'] = "/^nofile|noesfile$/i";