Remove bad read file function