Add ouput_fullpath function