cleanup usage of File -> also allows tests to be run from root directory