Added file session middleware