get_mad_files is a proper generator again