faster check for a already visited page
fixing file write / read for JSON