the next is mediafileview's function