fixed filename bug
working on hostname matching