remove file type from badge tag