public static ArrayList<String> readFile (String path) {

        try {

            BufferedReader reader = new BufferedReader(new FileReader(new File(path)));
            ArrayList<String> contents = new ArrayList<String>();

            String data = "";

            while((data = reader.readLine()) != null){
                contents.add(data);
            }

            reader.close();

            return contents;

        }catch(Exception e){

            Debug.error("File not found '" + path + "'");
            return null;

        }

    }