def convert_to_humanized_name(name, suffix)
      name.gsub(/\.#{::Regexp.quote(suffix)}$/i, '').tr('_', ' ').strip
    end
def convert_to_humanized_name(name, suffix)
      name.gsub(/\.#{::Regexp.quote(suffix)}$/i, '').tr('_', ' ').strip
    end
Converts a filename and suffix into a human readable name.