added regex for filename