parseToModel
Parses a file into an IconFileContents domain model.
Selects the appropriate ContentParser based on the file extension, reads the file content, and delegates parsing.
Return
the parsed IconFileContents.
Parameters
file
path to the vector file.
iconName
identifier for the generated icon.
config
parser configuration.
Throws
if the file extension is not supported.