Choose file before filling in details.