I think new rules should be added here to validate against file type