Add assert on file path.