up dir to json file