Extract usage information into a separate file.