boolean success = false;
String fullName = inFile.getName();
String docName = fullName.substring(0, fullName.length() - 4);
try {
BufferedReader reader = new BufferedReader(new UnicodeReader(new FileInputStream(inFile), "UTF-8"));
try {
StringBuilder docText = new StringBuilder();
String line;
while ((line = reader.readLine()) != null) {
if (!line.startsWith("#")) {