Yes, it is possible using the TDL Procedural File Input and Output capabilities. You have to open the file in write mode and truncate the content using the action TRUNCATE FILE.