In my case I had to remove formControlName="" attribute from the <input> tag and use the (change)="onFileSelect($event)" event to programmatically set file to the form control using [formGroup]=""
formControlName=""
<input>
(change)="onFileSelect($event)"
[formGroup]=""