Add exists function as member function and as static function with path as parameter to test existance of files.