use .html instead of .text as file extension