use configuration.key
use dirname