refactored todo for switch statement, created data file for read exercise