Enhanced buttons and error handling for file lists