Sample code to create a list of filenames matching a pattern.
Put list generation into a function.
Use relative names in tileconfig files.
Add get_tileconfig_files() function instead of using unreliable 'mcount'.