check if file is native or clr before loading in bridge