change file extention from .txt to .html