Selective snapshot

Only snapshotting files that are being edited.