ENH: Now returns the exit code and the files that will be used for processing. Also now does not exit by default