allow specific ports, return names of files downloaded