add filesystem reading secret key
fix gitignore