Use generators when partitioning local and remote files
Use namedtuple for input file struct instead of dict
Use generator for list of remote files