Add timestamp and input filename into debug file