Some cleanup.
Added ReadOnlyExclusiveCodecFileBuffer that keeps the files open for increased performance.