show button only if file is selected