Get out of the habit of using while read as an idiom and instead use xargs to process arguments when you're doing batch compute stuff.
while read