updated file.pl. problem still not fixed, but everything else works