It looks like testing if the file exists is unnecessary since we are using `rm_rf`. It was unnecessary in the original version too, not sure why I did that :)