Added check for class file