Remove usecases of illegal_filename_exception