Added directory to save snapshots

Added a filename, foldername, and location to the snapshots.

Taking multiple snapshots is not working. For some reason the connection gets lost after taking a snapshot.