Add epub parsing to upload