Proper encapsulation of input (patch file).