[working-with] files, asyncified thanks to cpetzold

also added tabs so the three samples are easier to navigate to