I was using FileList because it was previously being used. I'm not sure there's a reason to use it over Dir.glob, though. I'll do some quick tests.