Extend File type validator #42

number of files added and bug fixed with file types
Extend File type validator #42
Refactor and fixed minor bug