Read content from page and write it in a file