add corresponding correct file removal check
Add note about getCanonicalFile check and fix IdleSession test in test hash sessions