I think this is the point where, if the file_type is not one of the ones you're looking for, instead of setting it to "ignore", you should abort this whole method, return None, and handle that case in `run` by not processing anything.