support for multiple files; throwing errors upon wrong markup;