LoadFromFile

Declaration: TStringList.LoadFromFile(const FileName: string);
The method LoadFromFile fills the string list from the file specified by FileName. Each line in the file, as indicated by carriage return or linefeed characters, is appended as a string in the list.