Using assertFile instead