Added support for .secrets file