Move operations into functions.
Add comment about --content-disposition and DFFI download counts.