code: def process_part(part)
        return if ignore_media?(part.part_type?, part)
  
        type, file = process_media(part)
        add_file(type, file) unless type.nil? || file.nil?
      end
docs: Helper to decide if a part should be kept or ignored