Update read method for file repository