to add the capture file in routine.cpp