Hide 'new file' button when editing a file
change default value to boolean