open FH, "< $indir/$file" or printf "can't open %s\n",$file;