I want to get the files using myFunction()
how to get the file if user pass a relative path as function argument
../somewhere/index.js
import {myFunction} from "../pathTo/app.js";
myFunction("../relative/path/file.txt");
app.js
export const myFunction = (path) => {
fs.readFile(path); //=> How to get the file here
};