attempt fix on exiting file test for activating generate source list option.