Assembly external ref search order

I know I have found this before, can anyone point me to thepost or file that explains exactly how SolidWorks looks for a filethe assembly references when opening.

Thanks.SolidworksAssemblies