refactory files html