file info will be returned on both events - when clicking the download button or hitting enter key