Backing up and restoring from plaintext files