added FileReader detection