downloadFile has a boolean flag