added support for file based sessions in production mode