split up patches into multiple files