[fix #49834805] change contents' type to File