return fixed path, skip shared files outside of 'files'