Cuts a (large) string into files at the markers provided