Added support for json and csv files from other groups. Added validation.