the value of the name
capture would be passed to arguments with that name as well. So you should be able to do that:
public static void ProcessImportFile([BlobInput("importjobsdata/{name}")] TextReader input,
string name,
[BlobOutput("importjobslog/log_{name}")] TextWriter writer)
{
writer.WriteLine(name);
}