look for file in ref dir