`File(file.parentFile, fileToCheckName).exists()`
# getting-started
m
File(file.parentFile, fileToCheckName).exists()