Added ends with to file utils