is_file condition was reverted