Read mesh files with config file