Added enter handling to the file upload field