making allowed file types configurable