Moved file deletions later so they don't screw up velvetg