can we extract the path to a variable and call `assert_file` here? This way we know that the file was there in the first place.