Showing disabled buttons and error messages when parsing files