Test for file existance upfront