Save to profileid to file