Added filtering based on line length.