Input file same as output file
You have given the output file the same name as the input file.
Resolution
Use a different output filename.