Please check below colab code for file exists or not. Check changing file path
import os
file_path = "/Sample.txt"
# Check if the file exists at the path
if os.path.exists(file_path):
print(f"File found: {file_path}")
else:
print(f"File not found: {file_path}")