I have tried to create different unique files and adding to each one an element of another list but instead iterating through each element I got the whole elements of the li