Auto cleanup of file imports.