add wal and shm file times for sync time comparison. Added checking for existence of servers and db files.