title: Howto clear a textfile without deleting file?
body: <p>Question: I have an ini file which I need to clear before I add info to it.</p>
  
  <p>Unfortunately, if I just delete the file, the permissions are gone as well.</p>
  
  <p>Is there a way to delete a file's content without deleting the file ?</p>