1. First you need to take ownership of the file. Run takeown /f "path and file name" to take ownership from a command prompt.
2. Next, you need to give your account full control permissions on the file. Run cacls "path and file name" /G <your username>:F to get full control from a command prompt.