add examples to directory and cookbook_file