Get the file patch right.