assignment part 2: making files, recording diffs and moving to new directory