Create close.cpp