config dir and config file for miners