Set up template for file
Added file type validation.

e.g ['image/jpeg','image/gif']
Added gif instead of jpeg
Merging up
Merge pull request #46 from GrayBear/master

File type validator #27