delete the file in the correct manager