was add writting of post request in the file