Ajd chapter12

Chapter 12
I think I used `stat` here