to record Object(NSString)

added archive and unarchive methods.