Remove the method readbarcode and files that call this method