also, instead of just checking that ".msf" or ".snm" or ".summary" appears in th e file name, we now check if the filename *ends* with ".msf", ".snm" or ".summar y".