Update server.pl

Updated to allow the downloading of files