The write file activity can open a FILE using a file handle. When the activity starts, it creates a file if FILE is not present. If FILE is present then it opens the file using the FILE handle. After opening the FILE, the write operation is performed with the given input in the INPUT tab (textContents). When the operation is done it can closed the FILE. The File is open when calling the Write File Activity and is closed when its operation is complete. The same occurs when Write File is in Append mode. It only appends the input data into the File.