patch file with messages