Removes uneeded files.