Split files and use html target instead of singlehtml.