concatenate input from all files