Fixed bug from moving files around, and also added an option to delete a dict and simultaniusly free its conents.