Add method CheckPermission to the FileHelper.cs to check the permission of a file.
Add method CheckPermission to the FileHelper.cs to check the permission of a file.