1. A method for providing media with a data network, the method comprising: receiving a request having a universal source locator (URL), wherein the URL includes information indicative of a requested media file; determining one or more factors related to the request; determining a chunking strategy based on the one or more factors related to the request; determining an advertisement strategy based on the one or more factors related to the request; generating, with a processor, an index file having information for streaming the requested media file via the data network, wherein generating the index file is based, at least in part, on the chunking strategy and the advertisement strategy; and providing the index file.