fixed hidden files not being skipped issue