Changed dirconstants to public+added filename xml