add file-exists-p check for secrets file