encode-and-use folder, index and read-json-fie folder