private string GetFileNameForStack(Caller frame) { return frame.Parents.Select(c => c.StackFrame.GetFileName()).FirstOrDefault(f => f != null); }