This will work when used with Map but it won't work for what you're trying to do, the If applies to one logfile only.
And you wanted to associate url's to logfiles which is what the documentation url I send shows.
And you wanted to associate url's to logfiles which is what the documentation url I send shows.