Move check for hidden files in the proper method.

Change-Id: I0a364b118d60aaab259cba2b13edcc2c31c39148
1 file changed