NR-880: Task file management

Fix file attachment.