add condition for file checking
file create remove