Update validateImport.R

Adapted the log to print to the console unless a file is specified in 'logfile'