Script for creating mangets on a severals files