Parsing FLAT with numpy