identifyFileFormat: use arguments instead of interpolating

refs #5625