Back to while loop for read/write