Fix isPrimitiveType
for file property
#4421
Merged
isPrimitiveType
for file property
#4421