using slave from secret file