You can upload files of course but restiting the file types can be done by changing the following fields:

 

item : The item of type file browse
Settings – file types : .xls, .xlsx, .csv , .txt