Changed unlink() to rmdir() because I'm stupid