Fixed file upload for tasks