Two small girls whose father is in prison are collected by their grandfather after losing their mother in a shipwreck.