[1] only smother the IllegalArgumentException if the file doesn't validate [2] left-justify strings in the output
[1] fixed bug in the resourceType overriden method indirection [2] print class name of resource type, not object