filesize can be set of a resource