Try to occupy the file to see whether exception still occurs