Deletion of unnecesary img files