...
Use the filename, or part of it, as the locationId for the TimeSeries that will be imported, using Regular Expressions. When a match of the pattern in the filename is found, this will overrule the location Id for the timeseries being imported. A simple pattern is (without quotations) '(.*)' which matches the whole filename. An other simple pattern is .{2}(.*).{4} that removes the first 2 and last 4 character of the filename to get the id. More complicated expressions can be found at http://en.wikipedia.org/wiki/Regular_expression
fileNameParameterIdPattern
...