better handling of missing secrets file