Cleaned up log output a bit.
Fixed aliasing bug on filename