remove superfluous lines/files