Removing extra folders and pdf