Added function classFileExists