Plain files
key = ...username, or session key, or whatever...
data = f.read() # read previous data
data = "" # no file yet: provide initial data
data = update(data, form) # do whatever must be done
f.write(data) # write new data
# (could delete the file instead if updated data is empty)