added support for file types
Merge branch 'develop' of https://github.com/ssourabh/Mosaic into develop