Trim unused file