For multiple file, you should join them into a single file at first, then you can do following steps: 1. ctrl-o open the file(already joined together) 2. ctrl-h open 'replace' dialogue * set 'replace unit' to 'Line' click 'advanced' tab * set 'insert begin text' to: