Write Python code that handles I/O concurrently.
Recent revisions are kept. Restoring one creates a new revision.