removed unused argument to isDotDir