Add getButton for file type