Added illegal char validator to files
Added illegal char validator to files