Added more filtering to the parameters for making a path to the lookup
file