Simple bytesmetric class for sample files.