let env read json files if name is passed as string