File encryption and decryption sample code in C# Visual Studio