the situation is like this: im creating a Logger class that can write to a file but the write_to_file() function is in a helper class as a static function.