Added validation. Updated docs. Added file naming options.