FVEread: changed parcing params to while-do-done loop