snippsDB test, file check and cleanup