upload file / check file type / create a dowload link