Add Cython support
Handle file processing errors
Small fix