I have files in a directory such as 

```
FILE1.docx.txt
FILE2.docx.txt
FILE3.docx.txt
FILE4.docx.txt
FILE5.docx.txt

```

And I would like to remove `.docx` from all of them to make the final output such as

```
FILE1.txt
FILE2.txt
FILE3.txt
FILE4.txt
FILE5.txt

```

How do I do this?