Some modification to file