output file name should contain task id