I am trying to convert my old CSV files to another format and a new name (`_new.csv`). All files are in the folder with the date stamp. e.g `Filename_05_08_2021.csv`. Almost I have 63 files from today date to back. The problem is I have to provide each file name one by one while call function. Is there any way I can convert all of them? I am not sure what I am doing wrong here.

```
def new_csv(file_path):
    c = csv.reader(open(file_path))
    c_list = []
    c_list.extend(c)
    out_csv = open(file_path.replace('.csv','_new.csv'), "w")
    for line in c_list:
        if len(line) == 10:
            out_csv.write(str(line[0]+','+line[1]+','+(line[2]).upper()+','+''+','+
            (line[3][1:]).upper()+','+line[4]+','+line[5]+','+
            line[6]+','+line[7]+','+line[9])+'\n')

        if len(line) > 10:
            out_csv.write(str(line[0]+','+line[1]+','+(line[2]).upper()+','+
                          (line[3][1:]).upper()+','+line[4][1:]+','+line[5]+','+
                          line[6]+','+line[7]+','+line[8]+','+line[10])+'\n')
    out_csv.close()        

    print ("new .csv written")

if __name__ == '__main__':
    new_csv('C:\\Myfolder\\Filename_05_08_2021.csv')

```