added check the file exists
Merge pull request #1818 from palkopatel/master

added check the file exists in ClassFileIterator