Removing trailing blank lines & added log to import.php