in reply to pushing requested file

Another approach might be this:
open (FILE, "/path/to/$URL"); binmode (FILE); print "Content-type:application-vnd.ms-word\n\n"; while (<FILE>) { print; }
hth...