delete unecessary file image