$ ./fo.pl Could not open /no_such_file.txt: No such file or directory. Please provide another: foobar Could not open foobar: No such file or directory. Please provide another: /etc/hosts First line of /etc/hosts: 127.0.0.1 localhost.localdomain localhost