SL now supports method cleanupFile() which deletes all data in the file without deleting the file itself