convert: move multiple file filter error handling to separate function