removed unnececary empty check when loading the default directory.