Make and use a bogus database in python, storing data in a text file