moved static function file