master passes config to worker as a file