Add file attribute to input