Load configuration based on basename.
Load configuration based on basename.