Add docs for file type and file permission predicates.