validation for file properties(read only)