added a getall function to lsit (top lwevel) keys and used os.path.expand.user so referring to e.g. ~/example.db works