Use URI to detect the scheme of the input configuration file