@@ -0,0 +1,1132 @@
+package com.example.bot.spring;%0D%0A%0D%0Aimport java.util.Arrays;%0D%0Aimport java.io.BufferedReader;%0D%0Aimport java.io.FileReader;%0D%0Aimport java.io.IOException;%0D%0Aimport lombok.extern.slf4j.Slf4j;%0D%0A%0D%0A@Slf4j%0D%0Apublic class DatabaseEngine %7B%0D%0A%09String search(String text) throws Exception %7B%0D%0A%09%09String result = null;%0D%0A%09%09BufferedReader br = null;%0D%0A%09%09FileReader fr = null;%0D%0A%09%09try %7B%0D%0A%09%09%09fr = new FileReader(FILENAME);%0D%0A   %09%09    br = new BufferedReader(fr);%0D%0A%09%09%09String sCurrentLine;%0D%0A%09%09%09while (result != null && (sCurrentLine = br.readLine()) != null) %7B%0D%0A%09%09%09%09String%5B%5D parts = sCurrentLine.split(%22:%22);%0D%0A%09%09%09%09if (text.toLowerCase().equals(parts%5B0%5D.toLowerCase())) %7B%0D%0A%09%09%09%09%09result = parts%5B1%5D;%0D%0A%09%09%09%09%7D%0D%0A%09%09%09%7D%0D%0A%09%09%7D catch (IOException e) %7B%0D%0A%09%09%09log.info(%22IOException while reading file: %7B%7D%22, e.toString());%0D%0A%09%09%7D finally %7B%0D%0A%09%09%09try %7B%0D%0A%09%09%09%09if (br != null)%0D%0A%09%09%09%09%09br.close();%0D%0A%09%09%09%09if (fr != null)%0D%0A%09%09%09%09%09fr.close();%0D%0A%09%09%09%7D catch (IOException ex) %7B%0D%0A%09%09%09%09log.info(%22IOException while closing file: %7B%7D%22, ex.toString());%0D%0A%09%09%09%7D%0D%0A%09%09%7D%0D%0A%09%09if (result != null)%0D%0A%09%09%09return result;%0D%0A%09%09throw new Exception(%22NOT FOUND%22);%0D%0A    %7D%0D%0A%09private final String FILENAME = %22/static/database.txt%22;%0D%0A%7D

test again