Started to use the shelve module. Won't work fast enough.