removing absolute paths from generated files