Add a file_exists

Checks if a file exists, returns true if yes, else returns false along
with the error message