Setting types in file item