File cleanup, warning on deployment