GraphParser + FilePattern

+ Add a GraphParser class and FilePattern interface to parse and match
the graph file