Using old file reader for backward compatibility