From Clomosy Docs
procedure Reset(var FileHandle TextFile);
It is used to open the specified file in read or write mode.
Example
var
file1: TextFile;
{
if clFileExists('dosya.txt') then
{
AssignFile(file1, 'dosya.txt');
Reset(file1);
//Reading or writing operations can be performed.
}
}