Flat bands near Fermi level of topological line defects on graphite