Write a Python function that accepts a filename as input and attempts to open it. If the file does not exist, return the string “Error: File does not exist”.
Example 1:
Input: "existing_file.txt"
Output: "File opened successfully"
Example 2:
Input: "non_existent_file.txt"
Output: "Error: File does not exist"