add file read, play, pause and stop function