How to restrict it to add only one file and how to get uploaded fileName