Added support for generating random file paths for the tests.