A [LaTeX] document may have any name and any extension, and, may reside in any directory.
This is not the case for a [Principia] document.
For example, while Foo, Foo3 and Foo3t are legal names, foo, 3Foo, tFoo3 and Foo_3 are not.
Note that there is no notion of a Principia file. Such notions pertain only to an [embedding]. There is, for example, the notion of a [PriTeX file], which is a LaTeX file embedding a single Principia document.
A PriTeX file embedding a Principia document called Foo must have file-name Foo.tex, for example.
Principia documents are not stand-alone-entities, rather, each document is a member of a [package]. Embeddings impose location constraints on files based on the package name.
For example, a [PriTeX file] embedding a document of package aaa.bbb must reside in a directory .../src/aaa/bbb in Linux and ...\src\aaa\bbb, where ... can be any super-directory.
Wiki: Hello Principia World
Wiki: LaTeX
Wiki: PriTeX file
Wiki: Principia
Wiki: package