I always thought that __dirname was more consistent, but from reading documentation, there is no actual advantage to __dirname when used in conjuction with require()