Add controller for Hydro files, with error checking.