saved list of courses to json txt file. will save memory to serve from file rather than having to query database for every course every time site loads