Check if hdist exist when creating file-sizes log file and try to open it when it is available