update training file path to relative to the script path