std::for_each(this->begin(), this->end(), [&pFile](auto pos){ pos->WritePsi(pFile); });