Insert.php checks for empty file name before inserting