Large deviation approach to statistlcal mechanics.pdf