locfile = ['fileone','filetwo','filetthree']
myfile = open('locfile','rU')
as you can see open file object expects a string with a file extension as well. I simply want to pass file names in as i process the list one file name at a time. How can I do that?