Split Buffer into diff files.