Still trying to fix 1024 max buffer size
Changed from for line in file to while data read