refactor file selection table column index handling