Cleaned main and graph files.