apply the patch file