I have examined this question System.IO.IOException: 'The process cannot access the file '@.txt' because it is being used by another process.' among many others