fixed a potential ArrayIndexOutOfBoundsException
support generic setup of imported files
ignore *.___xbase, but not all *.__* languages