A class named ClassFile is located in class/file
It can be :
Respecting the namespacing means respecting the class name according to the file structure.
The generated component contains various exceptions.
The class name is singularisated : Class prefix can search both in 'class' and 'classes' directories
Example : ClassIris
Joomla issue (still in 3.2)
The namespacing is not working correctly in the discover function:
Even with 'recursive', a class located in class / file / upload will be registered as ClassUpload instead of ClassFileUpload.
Cook is offering an override to the Joomla loader and the discover function.
Or by alternative (not recomendated) :
Dump the loader.
Your component handle a small script to dump in HTML the JLoader object.