Implemented the same buttons for the files panel.