Added listner to input file for upload.