Removed bug for reading the file