deletes old module file.