skip empty lines or comments in graph reader