creates database for notes data from text files