Check if the file exists or not. If it doesn't exist, print File does not exist. If it does exist, check if it is empty. If it is empty, print File exists but is empty. If it exists and is not empty, print File exists and is not empty.
Note: The absolute path of a file (including its name) is passed to the solve() function as a parameter.
Tip: Check the reading to see which flags are used to check for the presence of a file and to check if it is empty. And don't forget the logical operators! They might be useful here.