Updated class PatchFile