updated to remove secret from file