Added check for compatibility of the files during parse folder.

Files are expected to comply with the setup of the first file.
Instead of doing the check single threaded, launches MRTask to check (first non-complying file will cancel the job and return error so the rest do not have to be computed at all).