Create states_from_file_tofile.py

Whee this reads the states from a file and writes the html to a file!