Removes no longer needed files.