This note should give you a general understanding of the RSF file format. Other relevant documentation is