Find all directories in the /etc/ directory whose name contains the word "file", and change the owner and group of those directories to root.
find /etc/ -name \*file* -type d -print | xargs chown root:root