Adding more extensive comments on sql file opening approach