File type check

Check against wordpress allowed file types