Add toFile/fromFile utility functions.
Add `edit` subcommand.
Merge branch 'feature-edit'