Code for parsing various cave releated file formats.