A paper book is organized by chapters, not evenly divided pages. It makes no difference if the book is printed on an infinitely long paper. Dividing a program in files is due to physical limitations. I can program in a single file if incremental compilation applies to one file.