Updated AssignName()

Store ID in text file