Add image file extension validation and file DB Model