Add timeout argument to assertFileExists.