Allow client config as a directory or a file