Split into multiple files.
Add comparator.