Add utility functions to operate on the 'latest' revisions of files