changed to give files sequental numbering no matter the file name