Package for encoding and decoding custom file formats