Read data from a file input field.