Add a inteligent system to find the correct numer of zero to add when
renaming a file with %n