cleainging img files