Added input file conditionals for mac/windows