chickadee » directory-utils » check-filename

filename? OBJprocedure
check-filename LOCATION OBJECT #!optional ARGNAMprocedure
error-filename LOCATION OBJECT #!optional ARGNAMprocedure

Does not verify existence of the file, just whether it has a directory component.