Added try catch to ply and obj reader.