improved error reporting in partition file parser.