make hasFile protected
Merge pull request #22 from VitSalis/make_hasFile_protected

make hasFile protected