Created file index in json format (to have a machine-readable file list)