Fixed the problem with storing file snapshots.