Try to replace file access to auto-ca things with templates