Made regex for filterFiles more strict