Search directory for a directory with certain files?
<p>I'd like to search a folder recursively for folders containing files names "x.txt" and "y.txt". For example, if it's given <code>/path/to/folder</code>, and <code>/path/to/folder/one/two/three/four/x.txt</code> and <code>/path/to/folder/one/two/three/four/y.txt</code> exist, it should return a list with the item <code>"/path/fo/folder/one/two/three/four"</code>. If multiple folders within the given folder satisfy the conditions, it should list them all. Could this be done with a simple loop, or is it more complex?</p>
