Added Logic: Line count based on File types selected