Search a file in data dir in all parent directories up to and including data dir

Signed-off-by: Alin Dreghiciu <adreghiciu@gmail.com>