Factor input files into a signal
Remove helper function