Added functionality for using default and custom delimiters at the same time. Also refactor.