loop through filehandles on either stdin or command line args