the file system is finally working
changing button click function