From http://unix.stackexchange.com/questions/88808/empty-the-contents-of-a-file
truncate -s 0 filename