You used the same file-name for the input and output files. This is not allowed.
Use a different output file-name.