add controller with file delete