Miscellaneous utilities for parsing files.