Use find instead of split