1, Regarding your question 1, in general the exported metadata file will be saved in a ZIP format. After unzipping the file, there will be a folder which contains all the metadata files in JSON format. You could also specify the path along with the file name in the -f in [export](https://community.denodo.com/docs/html/browse/8.0/en/vdp/data_catalog/appendix/scripts/export_metadata_script) script , so that the export file will be saved in the specified path.You could also refer to the Data Catalog [Export Metadata Script](https://community.denodo.com/docs/html/browse/8.0/en/vdp/data_catalog/appendix/scripts/export_metadata_script) section from the Data Catalog Guide.
2, Regarding your question 2, the exported files will be saved in a one folder. Then in order to access all the JSON files within a folder, I would perform the following steps :
* Create a JSON data source and provide the path in Data Route along with file name as interpolation variable.
- eg: /firstname.lastname@example.org
* Now create the base view (eg: bv_datacatalog) and while executing the base view, the VDP server prompts the user to specify the filename that needs to be accessed.
* Publish this base view as REST API or access this base view from a Restful webservice.
For example, if I want to access the file ‘localviews.json’ by using the API, I would use the following url :
Similarly, If I want to access the ‘custom_property_group.json’, then I would replace the file name in the filter condition of the above specified URL.
For more information, you could refer to the [Paths and Other Values with Interpolation Variables](https://community.denodo.com/docs/html/browse/8.0/en/vdp/administration/creating_data_sources_and_base_views/path_types_in_virtual_dataport/path_types_in_virtual_dataport#paths-and-other-values-with-interpolation-variables) and [Input Parameters of the RESTful Web Service](https://community.denodo.com/docs/html/browse/8.0/en/vdp/administration/restful_architecture/restful_web_service/input_parameters_of_the_restful_web_service) sections of the Virtual DataPort Administration Guide.
Hope this helps!