Gutting http and file implementations into a single implementation.