Add the solution to solve file name conflict. 

"   In case there exists files in the directory, with the same names as the downloaded file, 
   replace the original file with the downloaded file."