Riley was the treasurer of Shalebridge Cradle, most likely after it was turned into an asylum. His personal office was in the Outer Cradle, near the lobby.
As a treasurer, he was not responsible for the well-being of the paitents or orphans, but in the accounting and business side of the Cradle. Doctor Sandbridge had given him a bottle of the very rare Gravecourt Red wine, to 'sweeten' a certain deal between the two. He planned not to drink the wine unless the occasion was special enough.  He abandoned the drink when the Cradle burned.