Yes you should. 10,000 line files make it difficult to find a given subroutine etc.
Split them up by function, I'd say, into separate includes.
Try to abstract out common functionality.
If a large part of those 10,000 are HTML, consider using a templating system.
Mark