counter = 0
for file_name in file_container:
    if file_name == file_name:
        file_name = '{0}_{1}'.format(file_name, counter)
I am simply trying to write a python script that will change the filename in a directory of files