How to specify the type of document users can upload?