partial move to passing files through content provider (doesn't work yet)