moving path and url from file_bar to model