When the xddgen utility encountered a WHEN directive that referenced a file name that did not exist, it failed with a very generic message "1813: Error: field not found in field list during filter generation" pointing to the last line of the file. The logic has been updated to track the code position of this type of error and to print a clearer message providing more information.