Html file creator implemented as an example of a factory design pattern.