the selected checkbox now reflects the file selection status