File upload: allow only .jpg .gif .png and .pdf