change method stop tp quit under Mediafile Model