1. A method comprising: receiving, with a processing system, a JPM file having at least one codestream divided and stored in a plurality of boxes in the file with metadata that describes to a parser how portions of the at least one codestream have been divided and stored in each of the plurality of boxes within the file; and performing one or more operations on information in the file based on the metadata.