a controlled compoinent for upload a file react code example Example: react file input <input type="file" />