Separate out adaptor file