simple dir require with convenient functionality