index simplification (hum)
- and protect global_function getFileForClass