Rewrited GitParser::read_file() for using new GitParser::create_commit_file() and GitParser::create_source_file().