Make GetFileDistributedWithApplication also search "src", as GetDirectoryDistributedWithApplication already does. Tightened up the code a bit in both methods.