removed extra content from file