C parser for various fitness device file formats