Added inspection to lookup the correct file:name function to use.