In Segment, adds memoized file_names and file_count methods.