Added createResponse() that sets up for impending file data (tasks file size, rather than content).