to_s(16) done & regex taken care off using loop
Chnaged if statement to add zeros for 1 digit  numbers, Added filename to start of string