In a regular entity for SDR, it takes care of all properties of an entity for you saving it to the database. But how do you handle files?

```
@Entity
public class User {
 String name;
 Set<File> myfiles; //how can I make this work? 
}

@RepositoryRestResource
public interface UserRepository extends JpaRepository<User, Long> {}

```

How can I make it so that a User owns a list of files, can upload and download them?