Cleaned up fileupload.php, it now also accounts for when no files are uploaded