truncate() and chdir() are reuseable after all! <3