I have a function
export function getFileContent(path: string): any { const content = readFileSync(path); return JSON.parse(content.toString()); }