try to open cached file if the file is cached previously
use getParentPath for repo-service-helper.cpp
Merge pull request #354 from haiwen/use_cached_file

[RFC] try to open cached file if the file is cached previously