added strtolower() for files