removed file delete code