extended upload file type to include jpeg