test for bak file