file must have a neame ending with .html