add function to get real configure file's path