Database on text files in json format