Delete unneeded files & logging