Find the Mdfile in parent directories