node files with mongo connection