I want my code to find and open the file, which is equal to[/i] his typed existing username
assign(fl, eksistliet+'.txt'); reset(fl); //open for reading //read whatever you need from that file close(fl);