Loading config files based on file extension