add default file to write
before change: if you wanted to write a file you should specify path of file now: if you don't specify name of file it gets the first file and writes to it
before change: if you wanted to write a file you should specify path of file now: if you don't specify name of file it gets the first file and writes to it