testing locked file