A Scottish link to the Titanic investigation