updating to delete a file without the md extension