expect_is_directory file