Download files from a webpage with file-type filtering