add functionality in file form field