Fixed file operation buttons refreshing the page