Fixing bug with second run path to processed file