I'm not quite sure how to describe this, I've tried a few programs with no luck, not quite sure how to do it but I imagine it is possible.

The scenario is this - I have a very large list e.g.

apple
banana
pear

(but imagine many more listings)

I'm trying to find something that can take the list and output a file for each e.g.:

apple.html
banana.html
pear.html

Just with the extension on the end - obviously it would be an empty file. I have both a PC and a Mac so I've tried programs for each. I tried messing around with Automator in Mac, it seems like it might be possible I just don't know what to "tell it". The solution is probably much simpler than I am thinking it is.