Define ToFile on pointer to chain