Deleting folder also remove opened files