removing key and secret from file