extract files from html format