function LoadStringFromFile(const FileName: String; var S: AnsiString): Boolean;
Loads the specified binary or non Unicode text file into the specified string. Returns True if successful, False otherwise.
Use LoadStringFromLockedFile to load even if the file is already opened for writing by another program.