If you already have a list that has been converted to a string by the str() method--like str(my_list)-- I have found that the easiest way to convert it back into a list is just to use eval(file_contents).
str(my_list)
eval(file_contents)