Hi, I have used an application named "TexFer: Free Text Transfer Between Mobile Desktop". This app allows you to transfer long text from mobile to PC & vice versa! It is a unique app on the play store! Really impressed by using this app!
Here is the link for it: https://play.google.com/store/apps/details?id=com.ebizzapps.texttransferbetweenmobiledesktop
You have multiple options here to do just that.
One of these methods can be easier for you to transfer files using the Mi mobile and PC connection.