creating pstfile