work at Marta, trying to get the dir read to work

problems with the directory read and getting error logging to work.