Source:
<code>private boolean breakUpChapter(CharSequence text, String currentChapterStr) { boolean successOverall = true; boolean success = true; String cleanedString = text.toString().replaceAll("\r\n","\n"); if (!isMissing(currentChapterStr)) { try { String chapter = getChapterFolderName(currentChapterStr); if (null == chapter) { addError(R.string.could_not_find_chapter, currentChapterStr); return false; } List<String> versebreaks = getVerseBreaks(chapter); int currentChapter = Integer.valueOf(chapter); updateStatus(R.string.processing_chapter, new Integer(mChaperCount - currentChapter + 1).toString()); String lastFirst = null; for (int i = 0; (i < versebreaks.size()) && success; i++) { String first = versebreaks.get(i); success = extractVerses(chapter, cleanedString, lastFirst, first); successOverall = successOverall && success; lastFirst = first; } if (successOverall) { success = extractVerses(chapter, cleanedString, lastFirst, END_MARKER +""); successOverall = successOverall && success; } } catch (Exception e) { Logger.e(TAG, "error parsing chapter " + currentChapterStr, e); addError(R.string.could_not_parse_chapter, currentChapterStr); return false; } } else { String strippedUsfmFrontTags = removeKnownUsfmTags(cleanedString); if(strippedUsfmFrontTags.length() > 0) { String chapter0 = "00"; success = saveSection("front", "intro", strippedUsfmFrontTags); successOverall = successOverall && success; <START> success = saveSection(chapter0, "title", mBookName); <END> successOverall = successOverall && success; } } return successOverall; }</code><technical_language>fyi. want check in front dir for title fall checking 00 dir. 00 dir is legacy</technical_language>

Target:
private boolean breakUpChapter(CharSequence text, String currentChapterStr) { boolean successOverall = true; boolean success = true; String cleanedString = text.toString().replaceAll("\r\n","\n"); if (!isMissing(currentChapterStr)) { try { String chapter = getChapterFolderName(currentChapterStr); if (null == chapter) { addError(R.string.could_not_find_chapter, currentChapterStr); return false; } List<String> versebreaks = getVerseBreaks(chapter); int currentChapter = Integer.valueOf(chapter); updateStatus(R.string.processing_chapter, new Integer(mChaperCount - currentChapter + 1).toString()); String lastFirst = null; for (int i = 0; (i < versebreaks.size()) && success; i++) { String first = versebreaks.get(i); success = extractVerses(chapter, cleanedString, lastFirst, first); successOverall = successOverall && success; lastFirst = first; } if (successOverall) { success = extractVerses(chapter, cleanedString, lastFirst, END_MARKER +""); successOverall = successOverall && success; } } catch (Exception e) { Logger.e(TAG, "error parsing chapter " + currentChapterStr, e); addError(R.string.could_not_parse_chapter, currentChapterStr); return false; } } else { String strippedUsfmFrontTags = removeKnownUsfmTags(cleanedString); if(strippedUsfmFrontTags.length() > 0) { success = saveSection("front", "intro", strippedUsfmFrontTags); successOverall = successOverall && success; } String chapter0 = "00"; success = saveSection(chapter0, "title", mBookName); successOverall = successOverall && success; } return successOverall; }