Predicates for checking whether a file is executable or whether it
matches a given file name.