Help in looping and file naming needed.