In the current version we seem to be using xfaas | serwo directory as the root for handling all paths to reach relevant scripts.
Rather than capturing current file path using pathlib.Path(__file__).parent we can have a __init__.py at the root level of the project and then use all paths relative to the same file.
OR
We can have an explicit file containing the root path and access this file by wrapping it up in a module and get the path using just a single getter,