Adding Pstates to file