open INFILE, '<', 'textfile.txt' or print "Error: Can't read textfile.txt: $!";