Adds the file entity.