Add log file creation methods to Hardware
generalize inputs to hardware to 0 to n