add read_mac file with persistence and shit

it had to be done in one swoop