task-file bugfix