cleanup now checks if mxd file exists