SMD filenames are now stored dynamically (and trimmed!).