download button disappears if no file