Deduplicate asset loading code

Instead of writing addFooAsset() each time, keep a list
of filenames, and iterate through them.