ensured parent directory only checked once.