removeFile method
Implementation
void removeFile(String path) {
final updatedList = state.where((file) => file.path != path).toList();
emit(updatedList);
}
void removeFile(String path) {
final updatedList = state.where((file) => file.path != path).toList();
emit(updatedList);
}