refactor: move split row function into read file class