use readJson and work with file:// prefix in config string