chore(linter): better way to get the file