Added counter for file name