Try to patch file