All file I/O operations (except those that accept a path variable) take place within the current working directory. When FSInit completes successfully the CWD will be set the the root directory. It can be changed using the FSchdir or FSchdirpgm function.