Added some checks for lines that were causing crashes on exFAT usb drives