Recursively searching for file in parent directories