require file in a better way