Integrating Profile.getDBName() into more files