Adding uri to file model object