a.cc for tmp write