Decide file name from config file