show file upload button only when relevant
clarify frontend