Added some file type settings
many changes