PLY parsing (untested)