let shv_dir_handler() reject dirs and non-files