added exercises around files and functions