Included new patterns to match in filter and added if/else pattern to catch RemoveFiles entries.