Add stub static function that will turn on/off receivefile code path.