get task file output function