use dynamic lookup for shared files