Reads a file and converts all lines to lowercase