Fixed snapshot trying to create paths from files.