Output a device string for each file given on the command-line.