LoadFromFile is too problem specific for your needs IMO.
If you want to use Serialize, you can still dividide it to Header and Data sections - you only cannot use LoadFromFile because it adds some magic values around the data. But you can call Serialize directly.