Delete file so it can be added into a folder