Add persistence file detection (first try)