Error message for large file and wrong file type