Access to the path ‘C:\Users\xxx\Desktop’ is denied
You may have to run your program/IDE as Administrator to access that folder, due to how Windows default permissions work. For more context: The path leads to a folder – not a file. I believe FileStreams in C-based languages must actually point to a file, rather than a directory: ie. C:\Users\Username\Desktop\file.extension