File input component for React.