Checking how the file will look like after commit instead of
actual file on filesystem. This way we can still have console statement
but not commit