Fix import style.
Removed recursive flag.
Unexported the IsDir method.