get config filename from call parameters
refactoring