Output dir form source file