Fixed issue with lack of hostname in file path