improve get config file path