Quote:prints all four filenames in the "filename" columnYou put all of the file names in the list, not just one.
lines = [[files, html]]I would also suggest that you print the contents of the html variable after the for has finished, and see how many (or few)files it contains.