Data is UTF-8 decode it as such and ignore line starting with #
Print exceptions to the logs, it does help debugging and improve error message report to the users