What is the most efficient way to determine if a given file exists?