The error message is pretty clear: UnauthorizedAccessExceotion means what is says - yo9u tried to access a file or directory that the user your code is running as does not have the right permissions to access in that way: it may be that you don't have Write access to the file, or you may not have any access to the folder. We can't tell.
But ... if that is really your path:
C:\ConcertsRandom.DAT
then you will not have write access to it except as an admin as it is your boot drive and the root folder is write protected to prevent virus activity messing with system files.
Do not store data in the root of
any drive, and especially not in teh root of a bootable drive.
See here:
Where should I store my data?[
^] - the code is in C# but it's pretty obvious.