- Remove unneccessary if condition

- Clear file stores.

- Reset file store before test run

- Reset configuration logger just in case it gets updated somewhere else