added semblance of locating diaryfiles automatically