Frontmatter for epub

I have two folders in front-matter. 1. paperback and 2. ebook. in each of them i have a few files for title, dedication, etc. when I compile the project for PDF, I
get the desired effect with each of the text files on a separate page. However, when I compile for epub, the all are together.