Clean your file and try this :

SQL> execute sys.dbms_system.ksdwrt(2,to_char(sysdate)|| ' I have just create a new file.');