removing details from file.