More efficient sourceDirectory