public static String readTextFile(String fileName) {
        try {
            File f = new File(fileName);

            WebServer.logDebug(f.getPath());

            if (f.exists() && !f.isDirectory()) {
                FileInputStream fstream = new FileInputStream(fileName);

                // Create a stream and reader for the file
                DataInputStream in = new DataInputStream(fstream);
                BufferedReader br = new BufferedReader(new InputStreamReader(in));

                String strLine;
                String content = "";

                // Read File Line By Line
                while ((strLine = br.readLine()) != null) {
                    content += strLine + "\n";
                }

                // Close the input stream
                in.close();
                return content;
            }
            WebServer.logInfo("Couldn't Find File: " + fileName);
            return null;
        } catch (Exception e) { // Catch exception if any
            WebServer.triggerInternalError("Error Loading File: " + fileName + " error: " + e.getMessage());
            return null;
        }

    }