Added ebook size and format validation