implemented the pdb file reader