moving duplicates filename logic to increment by miliseconds instead of seconds