FileExistsQ["file"]
True
False
FileExistsQ["ExampleData/sunflowers.jpg"]
FileExistsQ["ExampleData/sunflowers.png"]