Support for testing without actual file