A file decides on its content
Use file object in index command