Redone to read file