fixed up logger to correctly name file