moving output file path to tmp