remove process.cwd() from filename arg