Refactor.
Refactor.
Refactor.
Fix ipv6 parsing.
Refactor.
Refactor.
Dont return cursor on parse_file.
Extract File access class.
Parse selected file.
Refactor.