checks if the file/directory in the path exists or notexists is wrapped with outcome bool so it returns TRUE if the file/directory exists, FALSE if it does not and error in case of an error