improve mesh example, add datafile example