Added file support for tests