Added option to change zeropadding for filenames