added deselect of file and total size computation