safer reference to patch file