removing references to unnecessary files