Fix group regex
Move file, file_group validations into file module