add ability to pass in patch files