Adding tapdir lookup meethod