Is there a way I can write to a local file (such as C:\test.txt) within a PL/SQL procedure?

Can someone post an example if it can be done?

Thanks,

P