basic script to consolidate text files