Instead of searching for files that match a hard-coded file extension, why not use something like globbing for `README.*` and trying `can_render` on all of them?