ouutput text filename fix