adding a task to list the name of the file, which results in an error