Purge file

delete invalid files