1) files gets selected not only for the grid view but also for setup.index
2) query addresses only for selected files