package bakatxt.core;
public class BakaTxtSession implements BakaTxtSessionInterface {

    // TODO Ensure filename input is correct
    // TODO Ensure database is closed

    public BakaTxtSession(String fileName) {
        // TODO set up database
    }

    @Override
    public String add(String input) {
        // TODO Auto-generated method stub
        return null;
    }

    @Override
    public String delete(String input) {
        // TODO Auto-generated method stub
        return null;
    }

    @Override
    public String display(String input) {
        // TODO Auto-generated method stub
        return null;
    }

    @Override
    public String display() {
        // TODO Auto-generated method stub
        return null;
    }

    @Override
    public void sort() {
        // TODO Auto-generated method stub

    }

    @Override
    public void exit() {
        // TODO Auto-generated method stub

    }

    @Override
    public String getFileName() {
        // TODO Auto-generated method stub
        return null;
    }

    @Override
    public String getPrevious() {
        // TODO Auto-generated method stub
        return null;
    }

    @Override
    public String getTotal() {
        // TODO Auto-generated method stub
        return null;
    }

    @Override
    public String getUndone() {
        // TODO Auto-generated method stub
        return null;
    }

    @Override
    public String getDone() {
        // TODO Auto-generated method stub
        return null;
    }

    @Override
    public String done(String input) {
        // TODO Auto-generated method stub
        return null;
    }

    @Override
    public String getTask(String title) {
        // TODO Auto-generated method stub
        return null;
    }

    @Override
    public String deleteDone() {
        // TODO Auto-generated method stub
        return null;
    }

}

@@ -15,16 +15,17 @@
 t.core;%0A
+%0A
 public c
@@ -166,16 +166,40 @@
 closed%0A%0A
+    Database database;%0A%0A
     publ
@@ -247,31 +247,42 @@
     
-// TODO set up database
+database = new Database(fileName);
 %0A   

Add Constructor for BakaTxtSession