Add ability to serve only part of a static file. Includes tests for new functionality.