Make method static
Only try to patch config with a valid config file/array
Fix silly issue with parameter being ignored
Add the ability to check additional files during autoloads.

Uses the tf.autoload_filenames directive.
Check it's an array first