Remove unnecessary file and folder references