I know I’m way late, but try either the os or the pathlib module to create a symlink, this makes it so you can edit files in a local directory but still have them sync with the files app.