removed unused file and updated read