File and doc cleanup