File type validator #27

File type validator #27

now pulled from upstream included done