bash script for concatenation of separate files