Add method to read in a VaspInput object form a directory.