ResourcePlugin - Delete old files (fix bug)