Add field event handling and add file name to uploaded file.