better file session support