Refactor static file.