Cleaned source of core file