public List <int> GetSharedUsersId(int loggedInUserId, string pathOnEfs) { var encryptedFile = new EncryptedFile(pathOnEfs.Substring(pathOnEfs.LastIndexOf('\\') + 1).Split('.')[0]); encryptedFile.ParseEncryptedFile(File.ReadAllBytes(pathOnEfs)); return(encryptedFile.GetSharedUsersId(loggedInUserId)); }