unless ($file_in =~ /^[\w][\w\._-]*$/) { print "Insecure file_in\n"; exit; }