Improved filename testing and added comments to subclassLoader