Added checks for all inputs and outputs to verify that files can be read/written before the starting of the actual processing.
rsscrubbing: problems with empty flagged indices files