Removes legacy file