Reading a txt file from a server

if i place in the void setup() lcd.print("helloworld") it displaces but if i place it anywhere in the void loop() it does not