Implement corpus files method