Correction and improvment. The input file doesn't necessarily have to be the same as the uploadOn.selector