indented import.php and added check for trying to upload empty files