Split analyzing file and encoding
Error handling