file index controller