Add filename method to class omptidy.