Instead of ReadAllBytes and WriteAllText of the File class, use methods of e.g. StreamReader and StreamWriter in combination with a FileStream. And use
using
blocks - that's the most important point here.
Something like:
using (FileStream fs = new FileStream("D:\\Work\\PNS\\TEST.lbl"))
{
using(StreamReader reader = new StreamReader(fs))
{
}
}