Using a FileFilter to remove the .cope folder from the snapshot

This also solves the freezing issue.