Add a "check-files" command, which is useful for scripting