Fixed logging - adjusting to API changes
Add secret file template