Create rotating_output.cc