remoded legacy file