I tried the sync and async versions of readFileSync and fs.readFile but it didn\'t work, I\'m trying to post the data from the file into mongodb database using models.