Besides the routines supproted by BP, there are many more routines available that deal with files, file names and similar things in a portable way. In contrast to Borland Pascal, you don't have to use any platform-specific units to do these kinds of things, though portable emulations of those units (e.g., of the Dos and WinDos units) are also available for compatibility.