in reply to Re^4: file check not working
in thread file check not working

Unsuccessful open on filename containing newline at -e line 1.
filename containing newline

Reading the error message is at least half the battle.